<?php

class Application_Model_DbTable_GuestBook extends Zend_Db_Table_Abstract
{

    protected $_name = 'guestbook';

     public function insert(array $data)
    {
        $data['created'] = date('Y-m-d H:i:s');
        return parent::insert($data);
    }
    
     public function update(array $data, $where)
    {
        throw new Exception('Cannot update guestbook entries');
    }
}

